package com.cimr.service.example.impl;

import com.cimr.comm.base.BaseDao;
import com.cimr.comm.base.BaseServiceImpl;
import com.cimr.dao.example.ExampleDao;
import com.cimr.po.Example;
import com.cimr.service.example.ExampleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by liqi on 2017/11/24.
 * liqiwork@qq.com
 */
@Service
public class ExampleServiceImpl extends BaseServiceImpl<Example> implements ExampleService {


    @Override
    protected BaseDao getDao() {
        return exampleDao;
    }

    @Autowired
    private ExampleDao exampleDao;

    public List<Example> selectList(String title) {
        return exampleDao.selectList(title);
    }
}
